<template>
	<view class="Wrapper WeiLoin" :style="mainStore.themeColor">
		<!-- #ifdef MP-WEIXIN -->
		<WX></WX>
		<!-- #endif -->

		<!-- #ifndef MP-WEIXIN -->
		<APP></APP>
		<!-- #endif -->
	</view>
</template>

<script setup>
	import WX from '@/components/login/WX.vue';
	import APP from '@/components/login/APP.vue';
	import { ref } from 'vue';
	import { Back } from '@/utils/utils.js';
	import { onLoad } from '@dcloudio/uni-app';
	import { useMainStore } from '@/stores/index';

	const mainStore = useMainStore();
	const Verify = ref(false);
	const agree = ref(false);
	const shake = ref(false);
	const agreementList = ref([
		{
			id: 1,
			title: '用户服务协议',
		},
	]);

	onLoad(() => {
		mainStore.agree = false;
	});
	const cancel = () => {};
	const toDetails = () => {};
</script>

<style lang="scss" scoped>
	.Wrapper {
		width: 100%;
		height: 100vh;
	}
	.WeiLoin {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-top: 100rpx;
	}
</style>
